﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// 转配送记录查询
    /// </summary>
    [Serializable]
    public class TransformDistributionLog : IQuery
    {
        /// <summary>
        /// 日志ID
        /// </summary>
        public string LogSerialID
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string LastCompanyID
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string NowCompanyID
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录编号
        /// </summary>
        public string ProcureCatalogID
        {
            get;
            set;
        }

        /// <summary>
        /// 地区ID
        /// </summary>
        public string AreaID
        {
            get;
            set;
        }
        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName
        {
            get;
            set;
        }
        /// <summary>
        /// 是否最终结点
        /// </summary>
        public bool? IsEndNode
        {
            get;
            set;
        }

        /// <summary>
        /// 转配送时间止
        /// </summary>
        public System.DateTime? TransformDistributeTimeTo
        {
            get;
            set;
        }

        /// <summary>
        /// 转配送时间从
        /// </summary>
        public System.DateTime? TransformDistributeTimeFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 转配送后企业
        /// </summary>
        public string CompanyName_Now
        {
            get;
            set;
        }

        /// <summary>
        /// 来源企业
        /// </summary>
        public string CompanyName_Last
        {
            get;
            set;
        }
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}
